package com.dragon.modules.yuegou.mapper.wallet;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dragon.modules.yuegou.entity.wallet.MemberCardBuyEntity;
import com.dragon.modules.yuegou.model.wallet.MemberCardBuy;
import com.dragon.modules.yuegou.query.wallet.CardBuyQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 会员购买悦卡 Mapper接口
 *
 * @author pbuilder generated
 * @date 2019-03-05 11:27:23
 * @version 2.0
 */
@Component("waltMemberCardBuyMapper")
public interface MemberCardBuyMapper extends BaseMapper<MemberCardBuyEntity> {

    /**
     * 查询企业员工购买悦卡记录分页列表
     */
    IPage<MemberCardBuy> searchBuyRecord(IPage page,@Param("query") CardBuyQuery query);

    /**
     * 导出企业员工购买悦卡记录列表
     */
    List<MemberCardBuy> searchBuyRecord(@Param("query") CardBuyQuery query);

}
